package com.zboot.zbootadmin.project.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-08
 */
@Data
@ApiModel(value = "MachineryModel对象", description = "")
public class MachineryModel implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    @ApiModelProperty(value = "整机车型")
    private String name;

    @ApiModelProperty(value = "关联品牌id")
    private String brandIds;

    @ApiModelProperty(value = "车型类别id")
    private String modelTypeId;

    @ApiModelProperty(value = "关联系统结构ids")
    private String structureIds;

    @ApiModelProperty(value = "排序")
    private Integer order;

    @ApiModelProperty(value = "状态：0启用，1删除")
    private Integer status=0;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate =new Date();

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifedDate=createDate;


}
